package com.kuang.controller;


import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.Mapping;
import org.springframework.web.bind.annotation.RestController;

@RestController// 不用跳转到视图
public class HelloController {

    @GetMapping("/hello")
    public String hello(){
        return "hello";
    }

}
